From 19b77ba87c8a00a796af44beb8781d5a5eb5f818 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Thu, 11 Aug 2005 21:05:58 +0000 Subject: [PATCH] [ We'll try to get in a proper fix into 3.0 - this is just the backup plan] Don't attempt to create paravirtualized devices for VMX domains for now. Signed-off-by: Arun Sharma --- tools/python/xen/xend/XendDomainInfo.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py index af73c87bff..4e01041342 100644 --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -743,7 +743,8 @@ class XendDomainInfo: for ctrl in self.getDeviceControllers(): ctrl.initController(reboot=True) else: - self.create_configured_devices() + if self.image.ostype != 'vmx': + self.create_configured_devices() if not self.device_model_pid: self.device_model_pid = self.image.createDeviceModel() @@ -915,7 +916,8 @@ class XendDomainInfo: """ self.configure_fields() self.create_devices() - self.create_blkif() + if self.image.ostype != 'vmx': + self.create_blkif() def create_blkif(self): """Create the block device interface (blkif) for the vm. -- 2.30.2